package com.ruoyi.smartcity.park.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 停车区域对象 park_tingchequyu
 * 
 * @author ruoyi
 * @date 2025-02-27
 */
public class ParkTingchequyu extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 区域名称 */
    @Excel(name = "区域名称")
    private String qyName;

    /** 总车位数 */
    @Excel(name = "总车位数")
    private Long total;

    /** 空闲车位 */
    @Excel(name = "空闲车位")
    private Long idleTotal;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setQyName(String qyName) 
    {
        this.qyName = qyName;
    }

    public String getQyName() 
    {
        return qyName;
    }
    public void setTotal(Long total) 
    {
        this.total = total;
    }

    public Long getTotal() 
    {
        return total;
    }
    public void setIdleTotal(Long idleTotal) 
    {
        this.idleTotal = idleTotal;
    }

    public Long getIdleTotal() 
    {
        return idleTotal;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("qyName", getQyName())
            .append("total", getTotal())
            .append("idleTotal", getIdleTotal())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
